const routes =  [
    {
        path: '/company',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/company/Company.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '公司管理'
        }
    },
    {
        path: '/company/companyAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/company/CompanyAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '公司添加'
        }
    },
    {
        path: '/company/companyEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/company/CompanyEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '公司编辑'
        }
    },
    {
        path: '/customer',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customer/Customer.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '客户管理'
        }
    },
    {
        path: '/customer/customerAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customer/CustomerAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户添加'
        }
    },
    {
        path: '/customer/customerEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customer/CustomerEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户编辑'
        }
    },
    {
        path: '/customerContact',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercontact/CustomerContact.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '客户联系方式管理'
        }
    },
    {
        path: '/customerContact/customerContactAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercontact/CustomerContactAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户联系方式添加'
        }
    },
    {
        path: '/customerContact/customerContactEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercontact/CustomerContactEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户联系方式编辑'
        }
    },
    {
        path: '/customerCredential',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercredential/CustomerCredential.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '客户证件管理'
        }
    },
    {
        path: '/customerCredential/customerCredentialAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercredential/CustomerCredentialAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户证件添加'
        }
    },
    {
        path: '/customerCredential/customerCredentialEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customercredential/CustomerCredentialEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户证件编辑'
        }
    },
    {
        path: '/customerRelation',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerrelation/CustomerRelation.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '客户关系管理'
        }
    },
    {
        path: '/customerRelation/customerRelationAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerrelation/CustomerRelationAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户关系添加'
        }
    },
    {
        path: '/customerRelation/customerRelationEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerrelation/CustomerRelationEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户关系编辑'
        }
    },
    {
        path: '/department',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/department/Department.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '部门管理'
        }
    },
    {
        path: '/department/departmentAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/department/DepartmentAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '部门添加'
        }
    },
    {
        path: '/department/departmentEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/department/DepartmentEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '部门编辑'
        }
    },
    {
        path: '/relation',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relation/Relation.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '关系管理'
        }
    },
    {
        path: '/relation/relationAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relation/RelationAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关系添加'
        }
    },
    {
        path: '/relation/relationEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relation/RelationEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关系编辑'
        }
    },
    {
        path: '/relationDetail',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relationdetail/RelationDetail.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '关系详细管理'
        }
    },
    {
        path: '/relationDetail/relationDetailAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relationdetail/RelationDetailAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关系详细添加'
        }
    },
    {
        path: '/relationDetail/relationDetailEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/relationdetail/RelationDetailEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关系详细编辑'
        }
    },
    {
        path: '/tag',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/tag/Tag.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '标签管理'
        }
    },
    {
        path: '/tag/tagAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/tag/TagAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '标签添加'
        }
    },
    {
        path: '/tag/tagEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/tag/TagEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '标签编辑'
        }
    },
    {
        path: '/customerTag',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customertag/CustomerTag.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '客户标签管理'
        }
    },
    {
        path: '/customerTag/customerTagAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customertag/CustomerTagAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户标签添加'
        }
    },
    {
        path: '/customerTag/customerTagEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customertag/CustomerTagEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '客户标签编辑'
        }
    },
    {
        path: '/customerAssociatedContactPerson',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerassociatedcontactperson/CustomerAssociatedContactPerson.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '关联联系人表管理'
        }
    },
    {
        path: '/customerAssociatedContactPerson/customerAssociatedContactPersonAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerassociatedcontactperson/CustomerAssociatedContactPersonAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关联联系人表添加'
        }
    },
    {
        path: '/customerAssociatedContactPerson/customerAssociatedContactPersonEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../crm/src': '@') + '/views/customerassociatedcontactperson/CustomerAssociatedContactPersonEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '关联联系人表编辑'
        }
    },
]
export default routes